package demo;

import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;

@RunWith(PowerMockRunner.class)
@PrepareForTest({BaseLogger.class})
public class BaseLoggerTest {

    @Before
    public void before(){
        PowerMockito.mockStatic(BaseLogger.class);
    }

    @Test
    public void noReturnAndArgs_test() throws Exception {
        // 对静态没有入参与返回值的方法，只需要对类进行mock就好
    }

}
